package ua.edu.nuos.jeetraining2012.automator.process.mgmt.vo;

import javax.persistence.Basic;
import javax.persistence.Entity;
import javax.persistence.Id;

/**
 * JEE Training 2012-2013.
 * Alexandr Dibrivny
 */
@javax.persistence.Table(name = "processes", schema = "public")
@Entity
public class ProcessEntity {
    private int id;
    private String bpmn2Path;
    private String inhousePath;
    private boolean enabled;
    private String status;

    @javax.persistence.Column(name = "id")
    @Id
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    @javax.persistence.Column(name = "bpmn2_path")
    @Basic
    public String getBpmn2Path() {
        return bpmn2Path;
    }

    public void setBpmn2Path(String bpmn2Path) {
        this.bpmn2Path = bpmn2Path;
    }

    @javax.persistence.Column(name = "inhouse_path")
    @Basic
    public String getInhousePath() {
        return inhousePath;
    }

    public void setInhousePath(String inhousePath) {
        this.inhousePath = inhousePath;
    }

    @javax.persistence.Column(name = "enabled")
    @Basic
    public boolean isEnabled() {
        return enabled;
    }

    public void setEnabled(boolean enabled) {
        this.enabled = enabled;
    }

    @javax.persistence.Column(name = "status")
    @Basic
    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }
}
